home *** CD-ROM | disk | FTP | other *** search
- Path: news.upv.es!usr22
- From: convidat@upvnet.upv.es (Usuario Invitado)
- Newsgroups: comp.lang.c++
- Subject: How Visual C++ can detect a mouse click or a keypressed
- Date: 1 Feb 1996 12:42:15 GMT
- Organization: UPV
- Message-ID: <4eqcf7$gro@maia.cc.upv.es>
- NNTP-Posting-Host: usr22.afi.upv.es
- X-Newsreader: NoticiasUPV Version 1.0 Beta #3
-
- Hello! I'm a user of Visual C++ and I've a problem. I'm programming with
- AppWizard. I'd like to Know how can I detect a mouse click or a keypressed
- inside a message handler. The problem is that when Visual C++ is executing the
- code of a message handler it can't detect new messages. In my application, I'm
- in a message handler and I'm in a infinte loop and I want to exit from it when
- the user desires it. In this message handler I can't detect anything from the
- keyboard or the mouse. The <stdio.h> functions <iostream.h> functions don't
- make anything. I've tried with interrupts but either the computer ignores it
- or it block.
-
-
- Help me please! Thank you.
-